﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FierceWar
{
	public class ActorLevel : Level
	{
		protected float _health;
		public float Health
		{
			get
			{
				return _health;
			}
			set
			{
				_health = Math.Max(0.0f, value);
			}
		}

		protected float _healthRecovery;
		public float HealthRecovery
		{
			get
			{
				return _healthRecovery;
			}
		}

		protected int _damage;
		public int Damage
		{
			get
			{
				return _damage;
			}
		}

		protected int _armor;
		public int Armor
		{
			get
			{
				return _armor;
			}
		}

		protected int _bulletsCapacity;
		public int BulletsCapacity
		{
			get
			{
				return _bulletsCapacity;
			}
		}

		protected float _timeToNextBullet = 200.0f;
		public float TimeToNextBullet
		{
			get
			{
				return _timeToNextBullet;
			}
		}

		protected float _timeToChargeBullet;
		public float TimeToChargeBullet
		{
			get
			{
				return _timeToChargeBullet;
			}
		}

		public ActorLevel(int level)
			: base(level)
		{

		}
	}
}
